import React from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import { ServerHome } from './serve/home';

const AppRoute = () => (
    <Router>
        <Switch>
            <Route exact path="/" component={ServerHome}/>
        </Switch>
    </Router>
);

export {AppRoute};
